package com.mouse.mapper;

import com.mouse.entity.GeneReference;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mouse.entity.Reference;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author godson
 * @since 2022-08-07
 */
public interface GeneReferenceMapper extends BaseMapper<GeneReference> {

    @Select("Select gr.* from gene_reference gr where gr.gid=#{gid}")
    List<GeneReference> getGeneReferenceByGid(@Param("gid") Long gid);

}
